package org.test.jiazi_1.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 体测项目成绩表(Fitness)实体类
 *
 * @author 2251300222 唐文涛
 * @since 2025-10-24 13:28:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("fitness")
@Schema(name = "体测项目成绩表(Fitness)实体类")
public class Fitness implements Serializable {
    @Serial
    private static final long serialVersionUID = 663717033159507550L;
    /**
     * 测试记录ID
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "测试记录ID")
    private Integer id;
    /**
     * 学生ID
     */
    @Schema(description = "学生ID")
    private Integer studentId;
    /**
     * 课程ID
     */
    @Schema(description = "课程ID")
    private Integer courseId;
    /**
     * 身高（米）
     */
    @Schema(description = "身高（米）")
    private Double height;
    /**
     * 体重（千克）
     */
    @Schema(description = "体重（千克）")
    private Double weight;
    /**
     * 肺活量（毫升）
     */
    @Schema(description = "肺活量（毫升）")
    private Integer vitalCapacity;
    /**
     * 50米跑成绩（秒）
     */
    @Schema(description = "50米跑成绩（秒）")
    private Integer run50m;
    /**
     * 立定跳远成绩（米）
     */
    @Schema(description = "立定跳远成绩（米）")
    private Double longJump;
    /**
     * 坐位体前屈成绩（厘米）
     */
    @Schema(description = "坐位体前屈成绩（厘米）")
    private Double sitAndReach;
    /**
     * 800米跑成绩（秒）
     */
    @Schema(description = "800米跑成绩（秒）")
    private Integer run800m;
    /**
     * 1000米跑成绩（秒）
     */
    @Schema(description = "1000米跑成绩（秒）")
    private Integer run1000m;
    /**
     * 一分钟仰卧起坐次数
     */
    @Schema(description = "一分钟仰卧起坐次数")
    private Integer sitUps;
    /**
     * 引体向上次数
     */
    @Schema(description = "引体向上次数")
    private Integer pullUps;
    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
    /**
     * 1为正表2为负表
     */
    @Schema(description = "1为正表2为负表")
    private Integer flag;
    /**
     * 测试时间
     */
    @Schema(description = "测试时间")
    private Date createTime;
}

